package com.market.web.model;

import java.util.List;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import com.market.domain.ProductTheme;

@Component("productThemeModel")
@Scope("session")
public class ProductThemeModel extends GenericModel<ProductTheme> {
	
	private List<ProductTheme> activeProductThemes;
	
	public List<ProductTheme> getActiveProductThemes() {
		return activeProductThemes;
	}

	public void setActiveProductThemes(List<ProductTheme> activeProductThemes) {
		this.activeProductThemes = activeProductThemes;
	}

	@Override
	public ProductTheme getNewObject() {
		ProductTheme productTheme = new ProductTheme();
		productTheme.setIsNew(Boolean.TRUE);
		return productTheme;
	}

}
